Actually wire the pluggable expression convertor#7730
Conversation
Signed-off-by: Adam Gutglick <adam@spiraldb.com>
|
|
||
| impl FileSource for VortexSource { | ||
| fn create_file_opener( | ||
| fn create_vortex_opener( |
There was a problem hiding this comment.
introduce new private function because currently FileSource can't be downcasted, so we want to return a real type in tests.
Merging this PR will degrade performance by 10.6%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | runend[10M_i32_runlen_10] |
195.1 µs | 160.4 µs | +21.63% |
| ⚡ | WallTime | runend[10M_i32_runlen_1000] |
135.2 µs | 97.2 µs | +39.13% |
| ⚡ | WallTime | dynamic_dispatch_u32[10M] |
161.8 µs | 108.5 µs | +49.06% |
| ⚡ | WallTime | dynamic_dispatch_u32[10M] |
169 µs | 115.7 µs | +46.02% |
| ❌ | Simulation | bitwise_not_vortex_buffer_mut[128] |
246.1 ns | 275.3 ns | -10.6% |
Comparing adamg/pluggable-expr-convertor-fix (fd87612) with develop (c73dbb2)
Summary
Turns out I didn't wire the expression convertor extension point correctly. This PR both fixes that AND adds a test to make sure this behavior is maintained.